package com.richper.springcloudh2020.controller;

import com.richper.springcloudh2020.service.IMProviderService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class IMProviderController {

    @Resource
    private IMProviderService imProviderService;

    @GetMapping(value = "/sendIM")
    public String send(){
        return imProviderService.send();
    }
}
